package com.mike.employment.po;

import com.mike.employment.base.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
public class Company extends BaseEntity{
	@Column(unique = true, nullable = false)
	private String name;  //企业名称
	@Column(nullable = true)
	private String website;  //企业官网
	@Column(nullable = false)
	private String industry; //所属行业
	@Column(nullable = false)
	private Integer workers = 1; //员工人数
	@Column(columnDefinition = "longtext", nullable = false)
	private String desp; //公司简介
	@Column(nullable = false)
	private String type; //企业类型
}
